﻿<Window x:Class="WpfApplicationSHNETII.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <TextBox Name="txtMin" HorizontalAlignment="Left" Height="23" Margin="74,17,0,0" TextWrapping="Wrap" Text="1" VerticalAlignment="Top" Width="120"/>
        <TextBox Name="txtMax" HorizontalAlignment="Left" Height="23" Margin="74,45,0,0" TextWrapping="Wrap" Text="100" VerticalAlignment="Top" Width="120"/>
        <TextBox Name="txtCount" HorizontalAlignment="Left" Height="23" Margin="74,73,0,0" TextWrapping="Wrap" Text="10000" VerticalAlignment="Top" Width="120"/>
        <Label Content="Min&#xD;&#xA;" HorizontalAlignment="Left" Margin="10,17,0,0" VerticalAlignment="Top" Width="48" Height="23"/>
        <Label Content="Max&#xD;&#xA;" HorizontalAlignment="Left" Margin="10,45,0,0" VerticalAlignment="Top" Width="48" Height="23"/>
        <Label Content="Count&#xD;&#xA;" HorizontalAlignment="Left" Margin="10,73,0,0" VerticalAlignment="Top" Width="52" Height="23"/>
        <Button Name="btnCalculate" Content="Calculate" HorizontalAlignment="Left" Height="79" Margin="218,17,0,0" VerticalAlignment="Top" Width="103" Click="Button_Click"/>
        <TextBlock Name="tbResult" HorizontalAlignment="Left" Margin="10,113,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="142" Width="311"/>

    </Grid>
</Window>
